HTML - tags - section tag

revision:


Content

"section" tag : definese document section syntax some examples


"section" tag : definese document section

top

The <section> tag defines a section in a document.

Attributes: the <section> element supports the global attributes and events attributes.


syntax

<section> . . . </section>


some examples

top

WWF History

The World Wide Fund for Nature (WWF) is an international organization working on issues regarding the conservation, research and restoration of the environment, formerly named the World Wildlife Fund. WWF was founded in 1961.

WWF's Symbol

The Panda has become the symbol of WWF. The well-known panda logo of WWF originated from a panda named Chi Chi that was transferred from the Beijing Zoo to the London Zoo in the same year of the establishment of WWF.

Codes
                    <section>
                        <h4>WWF History</h4>
                        <p class="spec-1">The World Wide Fund for Nature (WWF) is an international organization
                        working on issues regarding the conservation, research and restoration of the 
                        environment, formerly named the World Wildlife Fund. WWF was founded in 1961.</p>
                    </section>
                    
                    <section>
                        <h3>WWF's Symbol</h3>
                        <p class="spec-1">The Panda has become the symbol of WWF. The well-known panda logo of 
                        WWF originated from a panda named Chi Chi that was transferred from the Beijing Zoo to 
                        the London Zoo in the same year of the establishment of WWF.</p>
                    </section>
                

Pink Flamingos

Plastic flamingos have been used as garden ornaments since the late 1950s.

Codes:

                    <section> 
                        <h4>Pink Flamingos</h4> 
                        <p class="spec-1">Plastic flamingos have been used as garden ornaments 
                        since the late 1950s.</p> 
                    </section>